import Vue from 'vue'
import Router from 'vue-router'

import IndexView from '../view/IndexView' 

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      redirect: '/index'
    }, {
      path: '/index',
      component:  IndexView
    }
  ]
})
